package com.alibaba.file;

public class Test {
	public static void main(String args[]){
		String basePath = "d:/maomao";
		try {
			FileManager fileManager = new DefaultFileManager(basePath);
			System.out.println(fileManager.generateFileName(null));
			System.out.println(fileManager.generateFileName(null));
			System.out.println(fileManager.generateFileName(null));
			System.out.println(fileManager.generateFileName(null));
			System.out.println(fileManager.generateFileName(null));
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
